

#ifndef _SHELL_REQXIAOMILOGIN_MESSAGE_H_
#define _SHELL_REQXIAOMILOGIN_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
using namespace std;

class ReqXiaoMiLoginMessage : public Message
{
	public:
	ReqXiaoMiLoginMessage();
	~ReqXiaoMiLoginMessage();
	void reset();
	ReqXiaoMiLoginMessage* clone();
	static const int _ID;
	//小米id
	std::string uid;
	//需验证的session
	std::string viliSession;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
